package net.pinnoocle.playdao.entity.web.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-10-26 9:35
 */
@Data
public class WechatEncryptData {

    @ApiModelProperty("加密数据")
    @NotNull(message = "加密数据不能为空")
    private String encryptedData;

    @ApiModelProperty("初始向量")
    @NotNull(message = "初始向量不能为空")
    private String iv;

    @ApiModelProperty("授权code")
    @NotNull(message = "授权code不能为空")
    private String code;

    @ApiModelProperty("商家小程序id")
    @NotNull(message = "商家小程序id不能为空")
    private Integer shopWechatId;
}
